Optimal. Leaf size=72 \[ -\frac{2 x}{c \sqrt{a^2 c x^2+c}}+\frac{x \tan ^{-1}(a x)^2}{c \sqrt{a^2 c x^2+c}}+\frac{2 \tan ^{-1}(a x)}{a c \sqrt{a^2 c x^2+c}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0455449, antiderivative size = 72, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {4898, 191} \[ -\frac{2 x}{c \sqrt{a^2 c x^2+c}}+\frac{x \tan ^{-1}(a x)^2}{c \sqrt{a^2 c x^2+c}}+\frac{2 \tan ^{-1}(a x)}{a c \sqrt{a^2 c x^2+c}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4898
Rule 191
Rubi steps
\begin{align*} \int \frac{\tan ^{-1}(a x)^2}{\left (c+a^2 c x^2\right )^{3/2}} \, dx &=\frac{2 \tan ^{-1}(a x)}{a c \sqrt{c+a^2 c x^2}}+\frac{x \tan ^{-1}(a x)^2}{c \sqrt{c+a^2 c x^2}}-2 \int \frac{1}{\left (c+a^2 c x^2\right )^{3/2}} \, dx\\ &=-\frac{2 x}{c \sqrt{c+a^2 c x^2}}+\frac{2 \tan ^{-1}(a x)}{a c \sqrt{c+a^2 c x^2}}+\frac{x \tan ^{-1}(a x)^2}{c \sqrt{c+a^2 c x^2}}\\ \end{align*}
Mathematica [A] time = 0.062047, size = 49, normalized size = 0.68 \[ \frac{\sqrt{a^2 c x^2+c} \left (-2 a x+a x \tan ^{-1}(a x)^2+2 \tan ^{-1}(a x)\right )}{c^2 \left (a^3 x^2+a\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.223, size = 114, normalized size = 1.6 \begin{align*}{\frac{ \left ( \left ( \arctan \left ( ax \right ) \right ) ^{2}-2+2\,i\arctan \left ( ax \right ) \right ) \left ( ax-i \right ) }{ \left ( 2\,{a}^{2}{x}^{2}+2 \right ){c}^{2}a}\sqrt{c \left ( ax-i \right ) \left ( ax+i \right ) }}+{\frac{ \left ( ax+i \right ) \left ( \left ( \arctan \left ( ax \right ) \right ) ^{2}-2-2\,i\arctan \left ( ax \right ) \right ) }{ \left ( 2\,{a}^{2}{x}^{2}+2 \right ){c}^{2}a}\sqrt{c \left ( ax-i \right ) \left ( ax+i \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.76498, size = 72, normalized size = 1. \begin{align*} \frac{x \arctan \left (a x\right )^{2}}{\sqrt{a^{2} c x^{2} + c} c} - \frac{2 \,{\left (a x - \arctan \left (a x\right )\right )}}{\sqrt{a^{2} x^{2} + 1} a c^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.29909, size = 117, normalized size = 1.62 \begin{align*} \frac{\sqrt{a^{2} c x^{2} + c}{\left (a x \arctan \left (a x\right )^{2} - 2 \, a x + 2 \, \arctan \left (a x\right )\right )}}{a^{3} c^{2} x^{2} + a c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{atan}^{2}{\left (a x \right )}}{\left (c \left (a^{2} x^{2} + 1\right )\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.2316, size = 97, normalized size = 1.35 \begin{align*} -2 \, a{\left (\frac{x}{\sqrt{a^{2} c x^{2} + c} a c} - \frac{\arctan \left (a x\right )}{\sqrt{a^{2} c x^{2} + c} a^{2} c}\right )} + \frac{x \arctan \left (a x\right )^{2}}{\sqrt{a^{2} c x^{2} + c} c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]